package com.web.service.impl;

import com.web.dao.InsertStudentDAO;
import com.web.dao.impl.InsertStudentDAOImpl;
import com.web.entity.Student;
import com.web.service.InsertStudentService;

/**
 * @author lenovo
 * @Description
 * @Date2025-3-1 21:39
 */
public class InsertStudentServiceImpl implements InsertStudentService {
    private InsertStudentDAO insertStudentDAO= new InsertStudentDAOImpl();

    @Override
    public int addStudent(Student student){
        return insertStudentDAO.insertStudent(student);
    }
}
